package com.cnr.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/edit")
public class EditController {

	@RequestMapping(value = "/user", method = RequestMethod.GET)
	public String editUser(Model model) {
		model.addAttribute("message", "Here you can edit your user details.");
		return "edit/user";
	}
}